<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>房产租赁合同</title>
</head>
<body>
<h1>房产租赁合同</h1>
<form action="process_contract" method="POST">
    <fieldset>
        <legend>甲方（房东）信息</legend>
        <label for="landlord_name">姓名：</label>
        <input type="text" id="landlord_name" name="landlord_name" value="李华" required><br>
        <label for="landlord_address">地址：</label>
        <input type="text" id="landlord_address" name="landlord_address" value="曹县" required><br>
        <label for="landlord_contact">联系方式：</label>
        <input type="text" id="landlord_contact" name="landlord_contact" value="17350669310" required><br>
    </fieldset>
    <fieldset>
        <legend>乙方（租户）信息</legend>
        <label for="tenant_name">姓名：</label>
        <input type="text" id="tenant_name" name="tenant_name" value="${user}" required><br>
        <label for="tenant_address">地址：</label>
        <input type="text" id="tenant_address" name="tenant_address" value="1" required><br>
        <label for="tenant_contact">联系方式：</label>
        <input type="text" id="tenant_contact" name="tenant_contact" value="${phone}" required><br>
    </fieldset>
    <fieldset>
        <legend>房产信息</legend>
        <label for="property_address">地址：</label>
        <input type="text" id="property_address" name="property_address" value="${house.houseAddress}" required><br>
        <label for="property_description">描述：</label>
        <input type="text" id="property_description" name="property_description" value="${house.houseDesc}" required><br>
        <label for="property_area">面积：</label>
        <input type="text" id="property_area" name="property_area" value="${house.houseArea}" required><br>
    </fieldset>
    <fieldset>
        <legend>其他信息</legend>
        <!-- 其他合同信息字段 -->
    </fieldset>
    <button type="submit">提交</button>
</form>
</body>
</html>